using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Bulb.Test.RepositoryTests
{
    [TestClass]
    public class GetTests
        : RepositoryTests
    {
        [TestMethod]
        public void TestThatGetReturnsRepositoryBulb()
        {
            var result = MockBulbItemRepository.Get(1);

            Assert.IsNotNull(result);
            Assert.AreEqual(1, result.Id);
            Assert.AreEqual("Bulb 2", result.Name);
        }
    }
}